﻿using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace ezCloud.Data
{
    public partial class VoidReportResult
    {
        // Place custom code here.

        #region Metadata
        // For more information about how to use the metadata class visit:
        // http://www.plinqo.com/metadata.ashx
        [CodeSmith.Data.Audit.Audit]
        internal class Metadata
        {
             // WARNING: Only attributes inside of this class will be preserved.

            public string Groups { get; set; }

            [Required]
            public string SubGroup { get; set; }

            public System.DateTime? CreatedDate { get; set; }

            public string Description { get; set; }

            [Required]
            public string DeletedReason { get; set; }

            public decimal? Amount { get; set; }

            public string FormatDecimal { get; set; }

            public string DeletedUserName { get; set; }

            public System.DateTime? DeletedDate { get; set; }

            public string PaymentTypeName { get; set; }

            public string PaymentMethodName { get; set; }

            public int? PaymentNumber { get; set; }

            public int? ReservationNumber { get; set; }

            public string RoomName { get; set; }

            public System.DateTime? ArrivalDate { get; set; }

            public System.DateTime? DepartureDate { get; set; }

            public string Fullname { get; set; }

            public string CompanyName { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.MultilineText)]
            public string ExtraServiceItemName { get; set; }

            public int? Quantity { get; set; }

            [Required]
            public string ModuleName { get; set; }

        }

        #endregion
    }
}